<template>
  <section>
    <el-tabs v-model="tabName" >
      <el-tab-pane label="挂件列表" name="first">
        <list v-if="tabName==='first'"></list>
      </el-tab-pane>
      <el-tab-pane label="挂件类型" name="second">
        <type v-if="tabName==='second'"></type>
      </el-tab-pane>
    </el-tabs>
  </section>
</template>

<script>
  import type from '../widgetType/index'
  import list from './widgetList'
  export default {
    name: "index",
    components:{list,type},
    data(){
      return{
        tabName:'first'
      }
    }
  }
</script>

<style scoped>

</style>
